<for|item, loopIndex, loopAll| of=["red", "green", "blue"]>
    <b>${item}</b>
    <if(loopIndex !== loopAll.length - 1)>$!{" &nbsp; "}</if>
</for>